import {types} from "mobx-state-tree";

export const Common = types
  .model("Common", {})
  .volatile(self => ({
    user: {},
    subKey: []
  }))
  .views(self => ({}))
  .actions(self => ({
    setSubKey(key) {
      self.subKey = [...key];
    }
  }));
